package com.ztmmm.module.qu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ztmmm.module.qu.entity.Qu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 问题题目 Mapper 接口
 * </p>
 *
 * @author ztm
 * @since 2023-03-21
 */
@Mapper
public interface QuMapper extends BaseMapper<Qu> {
   // QuSaveDto selectOne(String quId);

    public List<Qu> repoRandQu(@Param("repoId") String repoId,
                               @Param("quType") Integer quType,
                               @Param("num") Integer num,
                               @Param("excludes") List<Qu> excludes);
}
